package com.ifast.asset.domain;

import lombok.Data;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;

@Data
public class AssetsDo extends Assets{

    public int pageNum;
    public int pageSize;
    public String labels;
    public int groupId;

    public Assets getAssets(){

        Assets assets =new Assets();
        assets.setId(this.getId());
        assets.setIp(this.getIp());
        assets.setLabel(this.getLabel());
        assets.setMac(this.getMac());
        assets.setAssetsName(this.getAssetsName());
        assets.setAssetsType(this.getAssetsType());
        assets.setModel(this.getModel());
        assets.setOs(this.getOs());
        assets.setPort(this.getPort());
        assets.setRisk(this.getRisk());
        assets.setDepartment(this.getDepartment());
        assets.setProvide(this.getProvide());
        assets.setMaintain(this.getMaintain());
        assets.setLevel(this.getLevel());
        assets.setTime(this.getTime());
        assets.setSource(this.getSource());
        assets.setScore(this.getScore());
        return  assets;
    }
}
